package cn.iocoder.yudao.module.scrm.controller.admin.product.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.iocoder.yudao.module.scrm.enums.DictTypeConstants;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - CRM 产品 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CrmProductRespVO {

    @Schema(description = "自增主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2079")
    //@ExcelProperty("自增主键")
    private Long id;

    @Schema(description = "产品名称", example = "张三")
    @ExcelProperty("产品名称")
    private String name;

    @Schema(description = "产品编码")
    //@ExcelProperty("产品编码")
    private Integer no;

    @Schema(description = "价格，单位：元", example = "3156")
    @ExcelProperty("价格，单位：元")
    private BigDecimal price;

    @Schema(description = "状态", example = "2")
    //@ExcelProperty("状态")
    private Integer status;

    @Schema(description = "状态显示名字", example = "2")
    @ExcelProperty("状态")
    private String statusName;

    @Schema(description = "产品描述", example = "你说的对")
    @ExcelProperty("产品描述")
    private String description;

    @Schema(description = "负责人的用户编号", example = "17221")
    //@ExcelProperty("负责人的用户编号")
    private Long ownerUserId;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建者名称")
    @ExcelProperty("创建人")
    private String creatorName;

    @Schema(description = "创建人")
    //@ExcelProperty("创建人id")
    private String creator;

}
